from django.urls import path

from . import views

urlpatterns = [
    path('', views.index, name='index'),
    path('upload', views.upload, name='upload'),
    path('login', views.login, name='login'),
    path('logout', views.logout, name='logout'),
    path('register', views.register, name='register'),
    path('read', views.read, name='read'),
    path('remove/<img>', views.remove, name='remove'),
    path('avgimage', views.avgfilter, name='avgfilter'),
    path('mediaimage', views.medianfilter, name='medianfilter'),
    path('gaussianimage', views.gaussianfilter, name='gaussianfilter'),
    path('show_r_compontent', views.show_r_compontent, name='show_r_compontent'),
    path('show_g_compontent', views.show_g_compontent, name='show_g_compontent'),
    path('show_b_compontent', views.show_b_compontent, name='show_b_compontent'),
    path('show_h_compontent', views.show_h_compontent, name='show_h_compontent'),
    path('show_s_compontent', views.show_s_compontent, name='show_s_compontent'),
    path('show_v_compontent', views.show_v_compontent, name='show_v_compontent'),
    path('show_gray_image', views.show_gray_image, name='show_gray_image'),
    path('histequal', views.histequal, name='histequal'),
    path('extractfutre', views.extract_feature, name='extractfutre'),
    path('colorextract', views.color_extract, name='colorextract'),
    path('svmdetection', views.svm_detection, name='svmdetection'),
    path('bpdetection', views.bp_detection, name='bpdetection'),
]